package Dungeoneering.Entities;

/**
 * Every type of npc has one of these. It tells us its weakness, what we should pray, and what their priority is
 * @author Nicolaas
 *
 */
public class MonsterDefenition {
	
	public enum Prayer { Melee, Magic, Range, None };
	public enum AttackStyle { Crush, Slash, Range };
	
	private int ID;
	private Prayer prayer;
	private AttackStyle Style1;
	private AttackStyle Style2;
	
	public MonsterDefenition(int ID, Prayer prayer, AttackStyle Style1, AttackStyle Style2) {
		this.ID = ID;
		this.prayer = prayer;
		this.Style1 = Style1;
		this.Style2 = Style2;	
	}
	
	public int getId() {
		return this.ID;
	}
	
	public Prayer getPrayer() {
		return this.prayer;
	}
	
	public AttackStyle getStyle(boolean whichStyle) {
		if(whichStyle)
			return this.Style1;
		else 
			return this.Style2;
	}
}
